package com.aaa.system.service;

import com.aaa.entity.User;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * @Author 崔灿
 * @Date 2023/02/27 09:16
 * @ClassName UserService
 * @Description
 * @Version 1.0
 */


public interface UserService extends IService<User> {
    Result selectAll(Integer currentPage, Integer pageSize, User user);
    Result delete(Integer userId);
    Result insert(User user);
    Result update(User user);
    Result findAll(Integer currentPage, Integer pageSize);
    Result insertByRole( Integer userId, Integer roleId);
    Result findByUserId(Integer userId);
    Result qr(Integer userId, Integer[] roleIds);
}
